package top.buyibuyi.course.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.UpdateClassroomDao;
import top.buyibuyi.course.pojo.Classroom;
import top.buyibuyi.course.service.UpdateClassroomService;

@Service
public class UpdateClassroomServiceImpl implements UpdateClassroomService {
    @Autowired
    private UpdateClassroomDao updateClassroomDao;
    @Override
    public Boolean updateState(Classroom classroom) {
        return updateClassroomDao.updateState(classroom);
    }
}
